package com.lening.security.po;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 赵子豪
 * @date 2024年06月03日 16时34分48秒
 */
@Data
@TableName("plan")
public class PlanPO implements Serializable {



    @TableId(type = IdType.AUTO)
    private Long id;//巡检计划id
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime planScheduletime;//计划开始日期
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime planPlantime;//计划结束日期
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime planOfficialtime;//正式开始日期
    private Integer status;//状态，1启用0停用
    private String planDescr;//备注

    private Integer planSid;//所属社区

    private String planName;//巡检计划名称

    private Integer planKeep;//巡更计划
    private Integer  planCycle;//巡检周期

    private Integer planPointsid;

//    private String  yi;
//    private String  er;
//    private String  san;
}